﻿using PublicClass;
using PublicClass.BreedingEnum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Breeding.Domain
{
    /// <summary>
    /// 体尺测定表
    /// </summary>
    [Table("BodyMeasure")]
    public class BodyMeasure: AuditFields
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int BMID { get; set; }
        /// <summary>
        /// 测定日期
        /// </summary>
        public DateTime? MeasureDate { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? Earbugles { get; set; }
        /// <summary>
        /// 身高
        /// </summary>
        public decimal? Height { get; set; }
        /// <summary>
        /// 胸围
        /// </summary>
        public decimal? Bust { get; set; }
        /// <summary>
        /// 阴囊围
        /// </summary>
        public decimal? Scrotum { get; set; }
        /// <summary>
        /// 眼肌面积
        /// </summary>
        public decimal? EyeArea { get; set; }
        /// <summary>
        /// 体长
        /// </summary>
        public decimal? BodyLength { get; set; }
        /// <summary>
        /// 管围
        /// </summary>
        public decimal? TubeGirth { get; set; }
        /// <summary>
        /// 背膘厚度
        /// </summary>
        public decimal? Backfat { get; set; }
        /// <summary>
        /// 眼肌宽度
        /// </summary>
        public decimal? EyeWidth { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public Sex? Sex { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public Breed? Breed { get; set; }

        /// <summary>
        /// 测定栋舍
        /// </summary>
        public string? MeasureCottage { get; set; }
        /// <summary>
        /// 测定栏位
        /// </summary>
        public string? MeasureField { get; set; }
        /// <summary>
        /// 测定日龄
        /// </summary>
        public int? AgeDay { get; set; }
    }
}
